<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class Gorder extends TimeModel
{

    protected $table='ea_order';

    protected $deleteTime = "delete_time";

    
    public function User()
    {
        return $this->belongsTo('\app\admin\model\User', 'user_id', 'user_id');
    }

    public function Addres()
    {
        return $this->belongsTo('\app\admin\model\Addres', 'location_id', 'location_id');
    }



}